package com.sann.eduservice.service;

import com.sann.eduservice.entity.chapter.Chapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sann.eduservice.entity.chapter.vo.ChapterVO;

import java.util.List;

/**
 * <p>
 * 课程大纲章节 服务类
 * </p>
 *
 * @author zjw
 * @since 2021-04-17
 */
public interface ChapterService extends IService<Chapter> {

    // 获取课程大纲列表,根据课程id进行查询
    List<ChapterVO> getList(String courseId);

    // 删除章节
    boolean deleteById(String chapterId);

    void removeByCourseId(String courseId);
}
